#include <stdio.h>

int open_file(char *filename)
{
	FILE *fp = NULL;

	fp = fopen(filename, "r");

	if (fp == NULL)
	{
		printf("fail to open file!\n");
		return -1;
	}
	else
	{
		printf("succeed to open file!\n");
		return 0;
	}
}

